
<html>
<head>
    <title>文件上传</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">

</head>
<body>
<form enctype="multipart/form-data" action="http://127.0.0.1:8080/file" method="post">
    <input type="file" name="file" />
    <input type="submit" value="upload" />
</form>
</body>
</html>